Description | Refreshes the contents of the user-input fields based on the attributes of the current selection. |
Arguments | maxOrMin |
The argument is either max or min , depending on whether the inspector is in its expanded or contracted state. |
|
Returns | Nothing. |
Example | The following instance of inspectSelection() gets the value of the CONTENT attribute and uses it to populate a form field called keywords : |
![]() |
function inspectSelection(){ var currSel = dreamweaver.getSelection(); var theObj = dreamweaver.offsetsToNode(currSel[0],currSel[1]); document.forms[0].keywords.value = theObj.getAttribute("content"); } |
|
![]() |